/*
 * @Descriptions: reactApp
 * @version: 1.0
 * @Author: CQY
 * @Date: 2022-04-08 15:35:44
 * @LastEditors: CQY
 * @LastEditTime: 2022-04-08 15:54:22
 */
import React from 'react';

import { Button } from 'antd';

const FooterButton = (props) => {
    return (
        <div key='box' style={{textAlign:"center"}}>
            <Button type='primary' key="save" onClick={() =>props.clickBtn1()}>{props.btn1}</Button>
            <Button type='danger' key="close" onClick={() => props.clickBtn2()}>{props.btn2}</Button>
        </div>
    );
}

export default FooterButton;
